package me.helllp.bootman.back.config.shiro;

import java.util.Date;

/**
 * 解析后的结构
 * 
 * @author 虎头
 *
 */
public class JwtPlayload {
	/**
	 * 令牌ID
	 */
	private String id;
	
	/**
	 * 用户ID
	 */
	private String userId;
	
	/**
	 * 发行者
	 */
	private String issuer;
	
	/**
	 * 发行时间
	 */
	private Date issuedAt;
	
	/**
	 * 接收方 
	 */
	private String audience;
	
	/**
	 * 角色
	 */
	private String roles;
	
	/**
	 * 权限
	 */
	private String perms;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIssuer() {
		return issuer;
	}

	public void setIssuer(String issuer) {
		this.issuer = issuer;
	}

	public Date getIssuedAt() {
		return issuedAt;
	}

	public void setIssuedAt(Date issuedAt) {
		this.issuedAt = issuedAt;
	}

	public String getAudience() {
		return audience;
	}

	public void setAudience(String audience) {
		this.audience = audience;
	}

	public String getRoles() {
		return roles;
	}

	public void setRoles(String roles) {
		this.roles = roles;
	}

	public String getPerms() {
		return perms;
	}

	public void setPerms(String perms) {
		this.perms = perms;
	}
}
